#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Author : raoxiaoyang
# @Function: 测试光敏传感器模块

from pi.controller.sensor.light.lightSensor import *
import time

s = SensorLig()
while True:
    t = s.printLight()
    print(t)
    time.sleep(0.2)